package com.wanmait.happyheating.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "province")
public class Province implements Serializable {
     @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 省名
     */
    @TableField(value = "title")
    private String title;

    /**
     * 简写
     */
    @TableField(value = "abbreviations")
    private String abbreviations;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;
    @TableLogic
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_TITLE = "title";

    public static final String COL_ABBREVIATIONS = "abbreviations";

    public static final String COL_SORT = "sort";

    public static final String COL_ENABLE = "enable";
}